<% title "Администратор" %>

<div id="conteiner">
    <div id="left">
        <div id="leftCont">
        <%= link_to "Создать новость", new_admin_post_path %>
        <ul>
            <% @posts.each do |p| %>
		         <li><%= link_to p.title, edit_admin_post_path(p) %></li> 
            <% end %>
         </ul>
         <%= will_paginate(@categories) %>
        </div>
    </div>
</div>

<div id="right">
		<%= render :partial=>"includes/currency" %>
		
    <%= render :partial=>"includes/banners" %>
</div>
